//
//  FebRunLeiJiShouRu.m
//  EJLX
//
//  Created by xufei on 15/12/16.
//  Copyright © 2015年 江苏一键联信息科技有限公司. All rights reserved.
//

#import "FebRunLeiJiShouRu.h"
#import "SecondFenRunLeiJiShouRu.h"
@implementation FebRunLeiJiShouRu
+(id)userWithDictionary:(NSDictionary*)userDic
{
    return [[self alloc]initWithDictionary:userDic];
}
-(id)initWithDictionary:(NSDictionary*)userDic
{
    self = [super init];
    if (self)
    {
        
        _totalTurnover=[userDic[@"totalTurnover"]intValue];
        _totalContribution=[userDic[@"totalContribution"]intValue];
        NSMutableArray*list=userDic[@"list"];
        _listAry=[NSMutableArray array];
        if (list.count>0)
        {
            for (int i=0;i<list.count; i++)
            {
                SecondFenRunLeiJiShouRu*sec=[SecondFenRunLeiJiShouRu userWithDictionary:list[i]];
                [_listAry addObject:sec];
            }
        }
        
    }
    return self ;
}

@end
